package com.maimao.api.mall.info;

import com.maimao.core.model.resp.Result;
import com.maimao.model.goods.SpecGroup;
import com.maimao.model.info.SearchHistory;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @author MaoLin Wang
 * @date 2020/12/29 9:29 下午
 */
@Api(value = "用户搜索记录")
@RequestMapping("/info/history")
public interface SearchHistoryApi {

    @ApiOperation("查询登录用户搜索记录")
    Result<?> history();
    @ApiOperation("添加搜索记录")
    Result<?> addHistory( Map<String,String> data);
    @ApiOperation("删除搜索记录")
    Result<?> deleteHistory( Map<String,String> data);
}
